//
//  SNOrderFormDetailGoodsCell.h
//  app
//
//  Created by 王少宁 on 15/5/18.
//  Copyright (c) 2015年 hdaren. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SNOrderFormDetailGoodsModel.h"
#import "SNGiftAndPromotionView.h"

#define kCommentBtnTitle @"评价晒单"
#define kReturnGoodsBtnTitle @"申请售后"

@protocol OrderFormDetailGoodsCellDeletage <NSObject>
/** 点击了商品 cell ,跳到商品详情*/
- (void)clickGoodsBtn:(SNOrderFormDetailGoodsModel *)detailGoodsModel;
/** 点击了评论或真情售后*/
- (void)clickBtnWithTitle:(NSString *)title row:(NSInteger)row;
/** 点击了赠品*/
- (void)clickGiftBtnWithDetailGoodsModel:(SNOrderFormDetailGoodsModel *)detailGoodsModel;
@end

@interface SNOrderFormDetailGoodsCell : UITableViewCell

@property (nonatomic, assign) NSInteger row;
@property (nonatomic, assign) id<OrderFormDetailGoodsCellDeletage> deletage;
@property (nonatomic, retain) SNOrderFormDetailGoodsModel * detailGoodsModel;

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier;
- (void)cellWithModel:(SNOrderFormDetailGoodsModel *)model row:(NSInteger)row;

@end
